﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xGetStatusThread（获取线程状态根据句柄）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function xGetStatusThread(tHdr As HANDLE) As Integer<br>int xGetStatusThread(HANDLE tHdr);</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" xGetStatusThread(ByVal tHdr As Long) As Long</P>
<P>参数：<br>tHdr：线程句柄</P>
<P>运行中返回true，已结束返回false</P>
<P>说明：<br>根据线程句柄获取指定线程是否在运行，支持按键精灵的线程。</P>
</body>
</html>